{__NOLAYOUT__}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=7" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>搜索关键字 - "{$keyword}"</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta name="author" content="19www.com" />
	<meta name="Copyright" content="Appcore 1.0" />
	<link href="__THEME__/public/statics/css/search.css" rel="stylesheet" />
	<!--关键JS--> 
	<script type="text/javascript">var memberpath = "/user/";</script>
	{@js href="__STATIC__/js/jquery/jquery.js"}
	{@js href="__STATIC__/js/jquery/plugins/jquery.artDialog.js?skin=default"}
	{@js href="__THEME__/public/statics/js/dayrui.js"}
	<!--[if IE 6]>
	<script src="__STATIC__/js/ie6png.js" type="text/javascript"></script>
	<script type="text/javascript">
	   EvPNG.fix('div, ul, img, li, input'); 
	</script>
	<![endif]-->
    <script type="text/javascript">
    $(function(){
		// 回到顶部
		$("#back-to-top").hide();
		$(window).scroll(function(){
		 if ($(window).scrollTop()>100){
			$("#back-to-top").fadeIn(1500);
			} else {
			$("#back-to-top").fadeOut(1500);
			}
		});
		$("#back-to-top").click(function(){
			$('body,html').animate({scrollTop:0},1000);
			return false;
		});
	});
	function dr_top_search() {
		var keyword = $('#keyword').val();
		if (keyword == '请输入关键字') keyword = '';
		if (!keyword) {
			alert("请输入关键字");
			return;
		}
		// 按模块组合搜索地址
		//var module = $("#dr_module").val();
		var module = 'news';
		if (module) {
			window.location.href='index.asp?m=news&c=index&a=search&keyword='+keyword;
		} else {
            dr_tips("你没有选择模块呢");
		}
	}
	</script>
</head>
<body>
<div id="back-to-top" style="display: block;"><a href="#top">TOP</a></div>
<div class="head">
	<div class="idx" style=" text-align:right">
    	<!--下面4个链接我就写死了哦-->
        <a href="{:U('home:index/index')}" class="bgone"><b>首页</b></a>
        <a href="javascript:void(0);" onclick="dr_set_homepage('http://www.19www.com/')">设为首页</a>
        <a href="javascript:void(0);" onclick="dr_add_favorite('http://www.19www.com/','永久网络_新闻')">加入收藏</a>
        <a href="###">网站地图</a>
    </div>
</div>
<div class="ilogo">
    <div class="idx">
    	<a href="{:U('news:index/index')}" title="新闻首页"><img src="__THEME__/public/statics/imgs/logo2.gif" /></a>
        <!-----搜索条----->
        <div class="sc">
            <div class="scbox">
                <input type="input" id="keyword" onfocus="this.value=(this.value=='请输入关键字')?'':this.value" onblur="this.value=(this.value=='')?'请输入关键字':this.value" class="SC_input" value="{$keyword}"><input name="" onclick="dr_top_search();" type="button" value="&nbsp;" class="scbtn" align="left" />
            </div>
            <div class="clear"></div>
            <!--只有模块页面才有tag功能，首页不具备此功能所以不显示-->
            <div class="sc_tags">
            热搜TAGS：  
            <!--此标签用于调用tag标签-->
            {cms:hottag count=8}
            </div>
        </div>
        <!-----搜索条结束----->
	</div>
</div>
<style type="">
lable.st1 { color:#999999; }
span.st2, span.st2 a{ color:#7AB900; }
</style>
<div class="sc_list">
	<div class="clear"></div>
	<div class="scjg"><div class="idx">搜索 <font color=red>{$keyword}</font> 的结果：</div></div>
	<div class="clear"></div>
	<div class="idx">
		<div class="sc_list_l">
		{@noempty for='contentid'}<!--当搜索到数据时就查询-->
			{cmstag:res table='article' field='id,title,update_time,classid,intro,seo_keys,url' where="id in( {$contentid} )" order='hits' pagesize=0}
            <li>
                <a href="[res:id fun='getArcUrl(@me)']" target="_blank" class="title">[res:title fun='keyword_highlight(@me,keyword)']<!--高亮显示描述关键字函数--></a><span class="date">[res:update_time fun='stdTime(@me)']</span>
                <div style=" clear:both;color:#999">
				[res:intro fun='keyword_highlight(@me,keyword)']<!--高亮显示描述关键字函数--><br/>
                <label class='st1'>栏目</label>：<span class='st2'>[res:classid fun='catLink(@me)'] &nbsp;</span>
				<label class='st1'>关键字</label>：<span class='st2'>[res:seo_keys]</span><br/>
                </div>
                <div style="color:#009933;">
                链接: [res:id fun='getArcUrl(@me)']
                </div>
            </li>
			{/cmstag:res}
            <div class="clear"></div>
			<li class="fyys">
            	<div class="fenye" id="fenye">
					{pagetag:pager mark='p' return='pager'}
					<a href="javascript:;">共[pager:total]条</a>
					[pager:bar]
					{/pagetag:pager}
				</div>
			</li>
		{@else}
        	<div class="norecord">对不起，您输入的关键字，没有找到任何记录！</div>
        {/@noempty}		
		</div>
		<div class="sc_list_r">
			<h4>阅读排行榜</h4>
			<ul>
			 <!--我们按点击排序-->
			{cmstag:news table='article' field='id,title,url' order='hits' loop=10}
            <li class="nopic"><a href="[news:id fun='getArcUrl(@me)']" title="[news:title]">[news:title fun='ab.c.cutstr(@me,"31:..")']</a></li>
            {/cmstag:news}
			</ul>
        </div>
    </div>
</div>
<div class="clear"></div>

{template('../public/footer.html')}